import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ECharts from 'vue-echarts'
import ElementUI from 'element-ui'
import vueEsign from 'vue-esign'
import Upload from 'vue-simple-uploader'
import VideoPlayer from 'vue-video-player'
import 'echarts/lib/chart/pie'
import 'echarts/lib/chart/line'
import 'echarts/lib/chart/bar'
import 'echarts/lib/component/legend'
import 'echarts/lib/component/tooltip'
import './utils/drag'
import 'element-ui/lib/theme-chalk/index.css'
import './utils/flexible'
import './assets/css/reset.css'
import './assets/css/font.css'
import './assets/css/iconfont.css'

import { GLOBAL_CONSTANTS } from './utils/constants'

Vue.use(vueEsign)
Vue.use(Upload)
Vue.component('v-chart',ECharts)
Vue.use(ElementUI)
Vue.use(VideoPlayer)
Vue.config.productionTip = false
Vue.prototype.GLOBAL = GLOBAL_CONSTANTS

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
